Abs(Expressão)Abs(Expressão); The CMD file.
;Mystic Athena commands, by Ard-Kiro
;-| Hypers |--------------------------------------------------------

[command]
name = "Mystic Angel"
command = B, DB, D, DF, F, B, DB, D, DF, F, x+y
time =60

[command]
name = "Psycho Combo"
command = D, DF, F, DF, D, DB, B, x+y
time =60

[command]
name = "Holy Sword 2"
command = D, DF, F, D, DF, F, y
time = 30

[command]
name = "Holy Sword"
command = D, DF, F, D, DF, F, x
time = 30

[command]
name = "Fang Arrow 3"
command = D, DF, F, D, DF, F, a+b
time = 30

[command]
name = "Fang Arrow 2"
command = D, DF, F, D, DF, F, b
time = 30

[command]
name = "Fang Arrow 1"
command = D, DF, F, D, DF, F, a
time = 30

[command]
name = "SShiny Cristal Bit"
command = F, DF, D, DB, B, F, DF, D, DB, B, x+y
time = 80

[command]
name = "Shiny Cristal Bit"
command = F, DF, D, DB, B, F, DF, D, DB, B,  x
time = 80

[command]
name = "Shiny Cristal Bit 2"
command = F, DF, D, DB, B, F, DF, D, DB, B, y
time = 60

[command]
name = "SCB01"
command = D, DB, B, x
time = 30

[command]
name = "SCB02"
command = D, DB, B, y
time = 30

;-| Special |------------------------------------------------------
[command]
name = "Psycho Ball"
command = ~D, DB, B, x
time = 25

[command]
name = "Psycho Ball2"
command = ~D, DB, B, y
time = 25

[command]
name = "Psycho Sword"
command = ~F, D, DF, x
time = 25

[command]
name = "Psycho Sword2"
command = ~F, D, DF, y
time = 25

[command]
name = "Phoenix Arrow"
command = ~D, DB, B, a
time = 25

[command]
name = "Phoenix Arrow2"
command = ~D, DB, B, b
time = 25

[command]
name = "Psycho Reflector"
command = ~D, DB, B, a
time = 25

[command]
name = "Psycho Reflector2"
command = ~D, DB, B, b
time = 25

[command]
name = "Psycho Absorve"
command = ~D, DF, F, x
time = 15

[command]
name = "Teleport"
command = ~D, DF, F, a
time = 25

[command]
name = "Teleport2"
command = ~D, DF, F, b
time = 25

[command]
name = "Phoenix Bomb"
command = /$D, a
time = 1

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB"     ;Required (do not remove)
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

[command]
name = "Roll"
command = a+x
time = 1

[command]
name = "Roll2"
command = z
time = 1

[Command]
name = "Counter"
command = y+b
time = 1

[Command]
name = "Counter2"
command = c
time = 1
;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

;-| Single Button |---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "Upper"
command = /D, z
time = 1

[Command]
name = "start"
command = s
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "up" ;Required (do not remove)
command = U
time = 1

[Command]
name = "up0" ;Required (do not remove)
command = UF
time = 1

[Command]
name = "up1" ;Required (do not remove)
command = UB
time = 1


[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

[Command]
name = "hold_x"
command = /$x
time = 1

[Command]
name = "hold_y";
command = /$y
time = 1

;---------------------------------------------------------------------------
IA
;---------------------------------------------------------------------------

[command]
name = "AI1"
command = D, B, B, F, DF, D, DB, x, y, x+y
time = 1

[command]
name = "AI2"
command = B, B, B, F, F,F
time = 1

[command]
name = "AI3"
command = x, y, a, F, D, B
time = 1

[Command]
name = "AI4"
command = F, DF, D, F, B, D, x, y+a
time = 1

[command]
name = "AI5"
command = D, F, F, F, F
time = 1

[command]
name = "AI6"
command = a, b, z+x, B, DB, D
time = 1

[command]
name = "AI7"
command = ~D, DB, B, y
time = 1

[command]
name = "AI8"
command = ~D, DB, B, y
time = 1

[Command]
name = "AI9"
command = ~F, D, DF, y 
time = 1

[Command]
name = "AI10"
command = ~D, DB, B, b, D, DB, B, b
time = 1

[Command]
name = "AI11"
command = ~D, DF, F, z, D, DF, F, z
time = 1

[Command]
name = "AI12"
command = ~D, D, F, z, D, DF, z
time = 1

[Command]
name = "AI13"
command = ~D, DF, z, D, DF, z
time = 1

[Command]
name = "AI14"
command = ~DF, F, z, D, DF, z
time = 1

[Command]
name = "AI15"
command = ~D, D, DF, z, D, DF, z
time = 1

[Command]
name = "AI16"
command = ~U, DF, F, z, U, DF, F, z
time = 1

[Command]
name = "AI17"
command = ~D, DF, F, DF, F, DF, F, DF, F,   z
time = 1

[Command]
name = "AI18"
command = ~DF, F, DF, U, F, z
time = 1

[Command]
name = "AI19"
command = ~D, DF, F, U, U, U, U z
time = 1

[Command]
name = "AI20"
command = ~D, DF, F, D, D, D, D z
time = 1

[Command]
name = "AI21"
command = ~F, F, F, F, F, F, F, D, DF, F, z
time = 1

[Command]
name = "AI22"
command = ~B, B, F, F, F, B, B, D, DF, F, z
time = 1

[Command]
name = "AI23"
command = ~D, DF, U, U, D DB, U, F, z
time = 1

[Command]
name = "AI24"
command = ~D, DF, F,U, D, U, D, U, D, U, D, z
time = 1

[Command]
name = "AI25"
command = ~B, D, B, D, B, D, U, B, D, DF, F, z
time = 1

[Command]
name = "AI26"
command = ~D, DF, F, z, U, DF, F, z, U, DF, F, z
time = 1

[Command]
name = "AI27"
command = ~D, DF, F, F, F, F, F, F, U, U, U, U, U, D, D, D, D, z
time = 1

[Command]
name = "AI28"
command = ~D, DF, F, D, D, D, D, D, F, B, F, B, F, B z
time = 1

[Command]
name = "AI29"
command = ~DF, DF, DF, DF, DF, D, DF, F, z
time = 1

[Command]
name = "AI30"
command = ~DB, DB, DB, DB, D, DF, F, z
time = 1

;===========================================================================
[Statedef -1]
;===========================================================================
;==========================================================================

;Mystic Angel
[State -1, Mystic Angel]
type = ChangeState
value = 3010
triggerall = stateno = 3002 
triggerall = var(7) = 0
triggerall = command = "Mystic Angel"
triggerall = statetype =S
trigger1 = ctrl
trigger1 = power >= 1000
crtl = 0

;Psycho Combo
[State -1, SCB]
type = ChangeState
value = 3000 
triggerall = var(7) = 0
triggerall = command = "Psycho Combo"
triggerall = statetype =S
trigger1 = ctrl
trigger1 = power >= 2000
crtl = 0

;Holy Sword 2
[State -1, SCB]
type = ChangeState
value = 2080 
triggerall = var(7) = 0
triggerall = command = "Holy Sword 2"
triggerall = statetype =S
trigger1 = ctrl
trigger1 = power >= 1000
crtl = 0
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231

;Holy Sword
[State -1, SCB]
type = ChangeState
value = 2070 
triggerall = var(7) = 0
triggerall = command = "Holy Sword"
triggerall = statetype =S
trigger1 = ctrl
trigger1 = power >= 1000
crtl = 0
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231


;Fang Arrow 3
[State -1, SCB]
type = ChangeState
value = 2060 
triggerall = var(7) = 0
triggerall = command = "Fang Arrow 3"
triggerall = statetype = A
trigger1 = ctrl
trigger1 = power >= 2000
crtl = 0
trigger2 = p2movetype = H && stateno = [1020,1022]
trigger3 = p2movetype = H && stateno = [1030,1032]

;Fang Arrow 2
[State -1, SCB]
type = ChangeState
value = 2050 
triggerall = var(7) = 0
triggerall = command = "Fang Arrow 2"
triggerall = statetype = A
trigger1 = ctrl
trigger1 = power >= 1000
crtl = 0
trigger2 = p2movetype = H && stateno = [1020,1022]
trigger3 = p2movetype = H && stateno = [1030,1032]

;Fang Arrow
[State -1, SCB]
type = ChangeState
value = 2040 
triggerall = var(7) = 0
triggerall = command = "Fang Arrow 1"
triggerall = statetype = A
trigger1 = ctrl = 1
trigger1 = power >= 1000
crtl = 0
trigger2 = p2movetype = H && stateno = [1020,1022]
trigger3 = p2movetype = H && stateno = [1030,1032]

;Shining Cristal Bit
[State -1, SCB]
type = ChangeState
triggerall = var(7) = 0
value = ifelse(statetype = A, 2020,2000) 
triggerall = command = "SShiny Cristal Bit" || command = "Shiny Cristal Bit"
trigger1 = ctrl
trigger1 = ifelse(command = "SShiny Cristal Bit",power >= 2000,power >= 1000)
crtl = 0
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
trigger6 = p2movetype = H && stateno = [1020,1022]
trigger7 = p2movetype = H && stateno = [1030,1032]

;Shining Cristal Bit
[State -1, SCB]
type = ChangeState
triggerall = var(7) = 0
triggerall = time > 60
triggerall = time < 170
trigger1 = command = "SCB01" || command = "SCB02"
trigger1 = stateno = 2020 
trigger2 = command = "SCB01" || command = "SCB02"
trigger2 = stateno = 2030 
value = 2022;ifelse(command = "SCB01",20000,20010)
;crtl = 0

;Shining Cristal Bit
[State -1, SCB]
type = ChangeState
triggerall = var(7) = 0
triggerall = time > 60
triggerall = time < 190
trigger1 = command = "SCB01" || command = "SCB02"
trigger1 = stateno = 2000 
trigger2 = command = "SCB01" || command = "SCB02"
trigger2 = stateno = 2010 
value = ifelse(command = "SCB01",20000,20010)
;crtl = 0

;Shining Cristal Bit 2
[State -1, SCB]
type = ChangeState
value = ifelse(statetype = A, 2030,2010) 
triggerall = var(7) = 0
triggerall = command = "Shiny Cristal Bit 2"
trigger1 = power >= 1000
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
trigger6 = p2movetype = H && stateno = [1020,1022]
trigger7 = p2movetype = H && stateno = [1030,1032]
crtl = 0
var(5)=0


;===========================================================================

[State -1, Counter]
type = ChangeState
value = 1140
triggerall = var(7) = 0
triggerall = command = "Counter" || command = "Counter2" 
triggerall = statetype = S
trigger1 = ctrl
trigger2 = Movetype = H
crtl = 0

[State -1, Counter Air]
type = ChangeState
value = 1150
triggerall = var(7) = 0
triggerall = command = "Counter" || command = "Counter2" 
triggerall = StateNo != [5040, 5120]
triggerall = statetype = A
trigger1 = ctrl
trigger2 = Movetype = H
crtl = 0

[State -1, Phoenix Bomb]
type = ChangeState
value = 1130
triggerall = var(7) = 0
triggerall = command = "Phoenix Bomb"
trigger1 = ctrl
trigger1 = statetype = A
crtl = 0

[State -1, 2xkick]
type = ChangeState
value = 1090
triggerall = var(7) = 0
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = command != "Teleport"
triggerall = command != "Roll"
triggerall = command = "holdfwd"
trigger1 = ctrl
trigger1 = statetype = S
trigger1 = stateno = 20
crtl = 0
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231

[State -1, Teleport Aereo2]
type = ChangeState
value = 1120
triggerall = var(7) = 0
triggerall = command = "Teleport2"
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = A
crtl = 0
trigger2 = p2movetype = H && stateno = [600,640]

[State -1, Teleport Aereo]
type = ChangeState
value = 1110
triggerall = var(7) = 0
triggerall = command = "Teleport"
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = A
trigger2 = p2movetype = H && stateno = [600,640]
crtl = 0

[State -1, Teleport]
type = ChangeState
value = 1080
triggerall = var(7) = 0
triggerall = command = "Teleport2"
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = S
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
crtl = 0

[State -1, Teleport]
type = ChangeState
value = 1070
triggerall = var(7) = 0
triggerall = command = "Teleport"
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = S
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
crtl = 0

[State -1, Psycho Reflector]
type = ChangeState
value = 1060
triggerall = var(7) = 0
triggerall = command = "Psycho Reflector"
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = S
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
crtl = 0

[State -1, Psycho Reflector]
type = ChangeState
value = 1066
triggerall = var(7) = 0
triggerall = command = "Psycho Reflector2"
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = S
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
crtl = 0

[State -1, Psycho Absorve]
type = ChangeState
value = 1100
triggerall = var(7) = 0
triggerall = command = "Psycho Absorve"
triggerall = command != "Psycho Sword"
triggerall = command != "holddown"
triggerall = command != "Psycho Combo"
trigger1 = ctrl
trigger1 = statetype = S
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
crtl = 0

[State -1, Phoenix Arrow]
type = ChangeState
value = 1050
triggerall = var(7) = 0
triggerall = command = "Phoenix Arrow2"
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = A
trigger2 = stateno = 1091
trigger3 = p2movetype = H && stateno = [600,640]
crtl = 0

[State -1, Phoenix Arrow]
type = ChangeState
value = 1040
triggerall = command = "Phoenix Arrow"
triggerall = var(7) = 0
triggerall = command != "holddown"
triggerall = ctrl
trigger1 = statetype = A
trigger2 = stateno = 1091
trigger3 = p2movetype = H && stateno = [600,640]
crtl = 0

[State -1, Psycho Sword]
type = ChangeState
value = 1030
triggerall = command = "Psycho Sword2"
triggerall = var(7) = 0
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = S 
trigger2 = ctrl
trigger2 = statetype = A
trigger3 = stateno = 1091
trigger4 = p2movetype = H && stateno = 201
trigger5 = p2movetype = H && stateno = 210
trigger6 = p2movetype = H && stateno = 221
trigger7 = p2movetype = H && stateno = 231
trigger8 = p2movetype = H && stateno = [600,640]
trigger9 = p2movetype = H && stateno = 1060
trigger10 = p2movetype = H && stateno = 1100
crtl = 0

[State -1, Psycho Sword]
type = ChangeState
value = 1020
triggerall = command = "Psycho Sword"
triggerall = var(7) = 0
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = S 
trigger2 = ctrl
trigger2 = statetype = A
trigger3 = stateno = 1091
trigger4 = p2movetype = H && stateno = 201
trigger5 = p2movetype = H && stateno = 210
trigger6 = p2movetype = H && stateno = 221
trigger7 = p2movetype = H && stateno = 231
trigger8 = p2movetype = H && stateno = [600,640]
crtl = 0

[State -1, Psycho Ball]
type = ChangeState
value = ifelse (statetype = S,1000,1005)
triggerall = command = "Psycho Ball"
triggerall = var(7) = 0
triggerall = command != "holddown"
;trigger1 = statetype = S 
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
crtl = 0

[State -1, Psycho Ball]
type = ChangeState
value = ifelse (statetype = S,1010,1015)
triggerall = var(7) = 0
triggerall = command = "Psycho Ball2"
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221
trigger5 = p2movetype = H && stateno = 231
crtl = 0

;===========================================================================
[State -1, Roll]
type = ChangeState
value = 110
triggerall = command = "Roll" || command = "Roll2" 
trigger1 = vel x >= 0
trigger1 = statetype = S
triggerall = ctrl
trigger2 = statetype = C
trigger2 = Command = "Roll2"


[State -1, Roll2]
type = ChangeState
value = 112
triggerall = command = "Roll" || command = "Roll2" 
trigger1 = statetype = S
triggerall = ctrl
triggerall= command = "holdback";
;trigger2 = StateNo = [120,152]

;===========================================================================
[State -1, Arremeço]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = p2statetype != A 
trigger1 = p2movetype != H
;===========================================================================
[State -1, Arremeço2]
type = ChangeState
value = 810
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = p2statetype != A 
trigger1 = p2movetype != H
;===========================================================================
[State -1, Arremeço3(ar)]
type = ChangeState
value = 830
triggerall = command = "b" || command = "y"
triggerall = statetype = A
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 2
trigger1 = p2statetype = A 
trigger1 = p2movetype != H
;===========================================================================

;Correr
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = stateno != 100
trigger1 = stateno != 105
trigger1 = statetype = S 
trigger1 = ctrl
crtl = 0

;---------------------------------------------------------------------------
;Recuo
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl


;===========================================================================
;Soco fraco longe
[State -1, Soco fraco longe]
type = ChangeState
value = 200
triggerall = var(7) = 0
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = p2bodydist x >= 25
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = time > 9
trigger2 = !movehit
;---------------------------------------------------------------------------

;Soco fraco perto
[State -1, Soco fraco perto]
type = ChangeState
value = 201
triggerall = var(7) = 0
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = p2bodydist x <= 25
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 210
trigger3 = p2movetype = H && stateno = 221
trigger4 = p2movetype = H && stateno = 231
;trigger2 = stateno = 201
;trigger2 = time > 11
;trigger2 = !movehit
;---------------------------------------------------------------------------
;Soco forte longe
[State -1, Soco forte longe]
type = ChangeState
value = 220
triggerall = var(7) = 0
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = p2bodydist x >= 25
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 231

;---------------------------------------------------------------------------
;Soco forte perto
[State -1, Soco forte longe]
type = ChangeState
value = 221
triggerall = var(7) = 0
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = p2bodydist x <= 25
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 231


;---------------------------------------------------------------------------

;chute fraco
[State -1, chute fraco]
type = ChangeState
value = 210
triggerall = var(7) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
;trigger2 = stateno = 210
;trigger2 = time > 10
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 221
trigger4 = p2movetype = H && stateno = 231

;---------------------------------------------------------------------------

;Chute Forte(longe)
[State -1, Chute Forte Longe]
type = ChangeState
value = 230
triggerall = var(7) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = p2bodydist x >= 23
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 201
trigger2 = p2movetype = H && stateno = 210
trigger3 = p2movetype = H && stateno = 221

;---------------------------------------------------------------------------
;Chute Forte(Perto)
[State -1, Chute Forte perto]
type = ChangeState
value = 231
triggerall = var(7) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = p2bodydist x <= 23
trigger1 = ctrl
trigger2 = p2movetype = H && stateno = 201
trigger3 = p2movetype = H && stateno = 210
trigger4 = p2movetype = H && stateno = 221

;---------------------------------------------------------------------------
;Deboche
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Soco fraco agachado
[State -1, Soco fraco agachado]
type = ChangeState
value = 400
triggerall = var(7) = 0
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 400
trigger2 = time > 9
trigger2 = !movehit

;---------------------------------------------------------------------------
;Chute fraco agachado
[State -1, Chute fraco agachado]
type = ChangeState
value = 410
triggerall = var(7) = 0
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 410
trigger2 = time > 9
trigger2 = !movehit

;---------------------------------------------------------------------------
;Soco forte agachado
[State -1, Soco forte agachado]
type = ChangeState
value = 420
triggerall = var(7) = 0
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Chute forte agachado
[State -1, Chute forte agachado]
type = ChangeState
value = 430
triggerall = var(7) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Soco fraco aereo
[State -1, Soco fraco aereo]
type = ChangeState
value = 600
triggerall = command = "x"
triggerall = stateno = 50
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Soco fraco aereo 02
[State -1, Soco fraco aereo]
type = ChangeState
value = 601
triggerall = command = "x"
triggerall = stateno = 50
triggerall = vel x != 0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;soco forte aereo
[State -1, Soco forte aereo]
type = ChangeState
value = 620
triggerall = command = "y"
triggerall = stateno = 50
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;soco forte aereo 02
[State -1, Soco forte aereo 02]
type = ChangeState
value = 621
triggerall = command = "y"
triggerall = stateno = 50
triggerall = vel x != 0
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Chute fraco aereo
[State -1, Chute fraco aereo]
type = ChangeState
value = 610
triggerall = command = "a"
triggerall = stateno = 50
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Chute fraco aereo
[State -1, Chute fraco aereo]
type = ChangeState
value = 611
triggerall = command = "a"
triggerall = stateno = 50
triggerall = vel x != 0
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Chute forte aereo
[State -1, Chute forte aereo]
type = ChangeState
value = 630
triggerall = command = "b"
triggerall = stateno = 50
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Chute forte aereo 02
[State -1, Chute forte aereo 02]
type = ChangeState
value = 631
triggerall = command = "b"
triggerall = stateno = 50
triggerall = vel x != 0
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
IA
;---------------------------------------------------------------------------

[state -1, IA]
type = varset
trigger1 = command = "AI1"
trigger2 = command = "AI2"
trigger3 = command = "AI3"
trigger4 = command = "AI4"
trigger5 = command = "AI5"
trigger6 = command = "AI6"
trigger7 = command = "AI7"
trigger8 = command = "AI8"
trigger9 = command = "AI9"
trigger10 = command = "AI10"
trigger11 = command = "AI11"
trigger12 = command = "AI12"
trigger13 = command = "AI13"
trigger14 = command = "AI14"
trigger15 = command = "AI15"
trigger16 = command = "AI16"
trigger17 = command = "AI17"
trigger18 = command = "AI18"
trigger19 = command = "AI19"
trigger20 = command = "AI20"
trigger21 = command = "AI21"
trigger22 = command = "AI22"
trigger23 = command = "AI23"
trigger24 = command = "AI24"
trigger25 = command = "AI25"
trigger26 = command = "AI26"
trigger27 = command = "AI27"
trigger28 = command = "AI28"
trigger29 = command = "AI29"
trigger30 = command = "AI30"
var(20) = 1

[State -1, Random Var(15)]
type = VarRandom
trigger1 = 1
v = 15
ignorehitpause = 1
